package com.qingcloud.base.remote.admin;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 事件计算比较信息
 */
@Data
public class MessageEventCalCompare implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty(value = "计算规则ID", hidden = true)
    private Integer ruleId;

    @ApiModelProperty(value = "计算字段名")
    private String fieldName;

    @ApiModelProperty(value = "结果类型")
    private String resultType;

    @ApiModelProperty(value = "比较类型")
    private String compareType;

    @ApiModelProperty(value = "比较阈值")
    private Float compareValue;

    @ApiModelProperty(value = "逻辑类型 逻辑运算符 1-and 2-or")
    private String logicType;

}
